﻿<%@ Page Language="C#" MasterPageFile="~/master.Master" AutoEventWireup="true" CodeBehind="Company.aspx.cs" Inherits="WebApplication1.Company" Title="Untitled Page" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" 
        DataSourceID="SqlDataSource" Width="666px">
        <Columns>
            <asp:BoundField DataField="TenCty" HeaderText="TenCty" 
                SortExpression="TenCty" />
            <asp:BoundField DataField="Diachi" HeaderText="Diachi" 
                SortExpression="Diachi" />
            <asp:BoundField DataField="SoDT" HeaderText="SoDT" SortExpression="SoDT" />
        </Columns>
    </asp:GridView>
    <asp:SqlDataSource ID="SqlDataSource" runat="server" 
        ConnectionString="<%$ ConnectionStrings:ThucTapConnectionString %>" 
        SelectCommand="SELECT [TenCty], [Diachi], [SoDT] FROM [tblCty]">
    </asp:SqlDataSource>
    <asp:SqlDataSource ID="SqlDataSource1" runat="server"></asp:SqlDataSource>
</asp:Content>
